/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package folders2;

/**
 *
 * @author Administrator
 */
public interface UserFile2Interface {

    /**
     * This method is used to get number of messages sent to this user
     * @return number of sent messages
     */
    int getMessageCount();

    /**
     * This method is used to get user password
     * @return user password
     */
    String getPassword();

    /**
     * This method is used to get userName
     * @return userName
     */
    String getUserName();

    /**
     * This method is used to set number of sent messages to this user
     * @param messageCount
     */
    void setMessageCount(int messageCount);

    /**
     * This method is used to set user password
     * @param password new user password
     */
    void setPassword(String password);

    /**
     * This method is used to set user name
     * @param userName new  user name
     */
    void setUserName(String userName);

}
